<template>
  <div class="like">
    <h3>
      <img src="http://img1.qunarzz.com/piao/fusion/1711/89/ebc329f16c55bb02.png" alt="">
      猜你喜欢
    </h3>
    <div class="like_list">
      <div v-for="item in NewRecomList" :key="item.id" class="list_demo">
        <div class="ld_left">
          <img :src="item.imgUrl" alt="">
        </div>
        <div class="ld_right">
          <h4>{{item.title}}</h4>
          <div class="xing">
            <div :class="'xing'+item.num"></div>
          </div>
          <div class="money">
            <span>¥<i>{{item.money}}</i>起</span>
            <p>{{item.address}}</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Recommend',
  props: ['NewRecomList'],
  data () {
    return {
    }
  },
  created () {
  }
}
</script>

<style lang="stylus" scoped>
.like
  width: 96%
  padding: 0 2%
  h3
    font-size: .32rem
    font-weight: 400
    margin-bottom: 0.5rem
    img
      width: .3rem
  .list_demo
    display: flex
    justify-content: flex-start
    .ld_left
      img
        width:2rem
    .ld_right
      width: 100%
      margin-left: .22rem
      .xing
        width: 1.2rem
        div
          background: url('/static/img/xing.png') no-repeat
          height: .22rem
          width: 1.2rem
          margin: 0.4rem 0
        .xing5
          background-position: 0px -1px
        .xing4
          background-position: -13px -1px
        .xing3
          background-position: -26px -1px
        .xing2
          background-position: -39px -1px
        .xing1
          background-position: -52px -1px
        img
          width: 100%
      h4
        font-size: .32rem
        font-weight: 400
      .money
        display: flex
        justify-content: space-between
        span
          font-size: .24rem
          color: #ff8300
          i
            font-size: .4rem
            color: #ff8300
            font-style: normal
        p
          font-size: .24rem
</style>
